package com.lx.design.demo.ddd.domain.service;

import com.lx.design.demo.ddd.domain.Product;

import java.util.UUID;

/**
 * @author lx
 * @description 订单服务
 * @date 2021/2/5 15:47
 */
public interface OrderService {
    UUID createOrder(Product product);
    void addProduct(UUID id,Product product);
    void completeOrder(UUID id);
    void deleteProduct(UUID id,UUID productId);
}
